{% extends 'partials/base.html' %}
{% block title %}更新商品{% endblock %}
{% load crispy_forms_tags %}

{% block content %}
<div class="container">
    <div class="row my-4">
        <div class="col-md-4"></div>
        <div class="col-md-8">
            <div class="card">
                <div class="card-header bg-info text-white">
                    更新商品
                    <!--<a class="btn btn-success btn-sm float-right" href="{% url 'user-profile-update'%}">编辑</a>-->
                </div>
                <form method="post" enctype="multipart/form-data">
                    {% csrf_token %}
                    {{form|crispy}}
                    <input class="btn btn-info" type="submit" value="更新">
                </form>


            </div>
        </div>
    </div>
</div>
{% endblock %}